package manager.brand.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import manager.brand.service.BrandService;
import manager.brand.vo.BrandVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
@RestController
@RequestMapping(value = {"/customer/manager"})
@Api(value = "品牌管理模块")
public class BrandCustomerController {
    @Autowired
    private BrandService brandService;
    @RequestMapping(value = "/brand/list", method = RequestMethod.POST)
    @ApiOperation(notes = "分页获取品牌信息", value = "query brand")
    public List<BrandVO> selectByCondition(@RequestBody BrandVO brandVO){
        return brandService.selectByCondition(brandVO);
    }
}
